package com.ruoyi.common.core.domain.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;

/**
 * 用户注册对象
 * 
 * @author lgq
 * @date 2023-9-27
 */
@ApiModel("用户注册对象")
public class RegisterBody extends LoginBody
{
    /**
     * “00”系统用户  "01" 个人用户 ； "02" 企业用户
     */
    @NotNull(message = "用户类型不能为空")
    @ApiModelProperty(value = "00系统用户  01 个人用户 ； 02 企业用户")
    private String userType;

    /**
     * 企业名称
     */
    @ApiModelProperty(value = "企业名称")
    private String deptName;

    /**
     * 电话
     */
    @ApiModelProperty(value = "电话")
    private String mobile;

    /**
     * 邮箱
     */
    @ApiModelProperty(value = "邮箱")
    private String email;

    /**
     * 短信验证码
     * @return
     */
    @ApiModelProperty(value = "短信验证码")
    private String sms;

    /**
     * uuid
     * @return
     */
    @ApiModelProperty(value = "smsid")
    private String smsid;

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getSms() {
        return sms;
    }

    public void setSms(String sms) {
        this.sms = sms;
    }

    public String getSmsid() {
        return smsid;
    }

    public void setSmsid(String smsid) {
        this.smsid = smsid;
    }
}
